package modules.user.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import modules.user.entity.Verify;

public interface VerifyDao extends JpaRepository<Verify, Long>,JpaSpecificationExecutor<Verify>{

	Verify findByUserIdAndType(long userId,int type);
	
	Verify findByUserId(long userId);
}
